/* a 标签默认养生 */
a {
  text-decoration: none;
  color: var(--text-color-primary);
  cursor: pointer;
}
.iconfont {
  color: var(--iconfont-color);
}
.nav-item div {
  display: inline;
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
/* flex 垂直方向 居中 */
.flex-column_center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* margin-bottom */
.mb1 {
  margin-bottom: 1rem;
}
.mb2 {
  margin-bottom: 2rem;
}
/* blockquote 默认样式 */
blockquote {
  font-size: 0.9rem;
  color: #999;
  border-left: 0.25rem solid #424242;
  margin: 0.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
}
blockquote, p {
  line-height: 1.7;
}
/* 1px */
hr {
  border: 0;
  border-top: 1px solid #eaecef;
}
/* 标题 */
h1 {
  color: var(--title-color);
  font-size: 2.2rem;
}
h2 {
  font-size: 1.65rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #eaecef;
  color: var(--title-color);
}
h1, h2 {
  font-weight: 500;
  line-height: 1.25;
}
.content h2 {
  margin-top: -3.1rem;
  padding-top: 4.6rem;
  margin-bottom: .7rem;
}
.content ul {
  line-height: 2.5;
}
.content ul {
  padding-left: 1.2em;
  list-style-type: disc;
}
/* pre, code 代码样式 */
pre {
  vertical-align: middle;
  background: transparent;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  padding: 1rem 1rem;
  margin: 0.85rem 0;
  background-color: #282c34;
  border-radius: 6px;
  overflow: auto;
}
code {
  color: #fff;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  padding: 0.25rem 0.5rem;
  margin: 0;
  font-size: 0.85em;
  background-color: rgba(27,31,35,0.05);
  border-radius: 3px;
}

code, pre {
  color: #ccc;
  /* background: none; */
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
.ml10 {
  margin-left: 1rem;
}


/* 二倍屏 */
@media (min-resolution: 2dppx) {
  hr {
    transform: scaleY(0.5);
  }
}

/* 三倍屏 */
@media (min-resolution: 3dppx) {
  hr {
    transform: scaleY(0.34);
  }
}